
package net.opengis.kml;

/** 
 * Schema fragment(s) for this class:
 * <pre>
 * &lt;xs:complexType xmlns:ns="http://www.opengis.net/kml/2.2" xmlns:xs="http://www.w3.org/2001/XMLSchema" abstract="false" final="#all" name="vec2Type">
 *   &lt;xs:attribute type="xs:double" default="1.0" name="x"/>
 *   &lt;xs:attribute type="xs:double" default="1.0" name="y"/>
 *   &lt;xs:attribute type="ns:unitsEnum" use="optional" default="fraction" name="xunits"/>
 *   &lt;xs:attribute type="ns:unitsEnum" use="optional" default="fraction" name="yunits"/>
 * &lt;/xs:complexType>
 * </pre>
 */
public class Vec2Type
{
    private Double X;
    private Double Y;
    private UnitsEnum xunits;
    private UnitsEnum yunits;

    /** 
     * Get the 'x' attribute value.
     * 
     * @return value
     */
    public Double getX() {
        return X;
    }

    /** 
     * Set the 'x' attribute value.
     * 
     * @param x
     */
    public void setX(Double x) {
        X = x;
    }

    /** 
     * Get the 'y' attribute value.
     * 
     * @return value
     */
    public Double getY() {
        return Y;
    }

    /** 
     * Set the 'y' attribute value.
     * 
     * @param y
     */
    public void setY(Double y) {
        Y = y;
    }

    /** 
     * Get the 'xunits' attribute value.
     * 
     * @return value
     */
    public UnitsEnum getXunits() {
        return xunits;
    }

    /** 
     * Set the 'xunits' attribute value.
     * 
     * @param xunits
     */
    public void setXunits(UnitsEnum xunits) {
        this.xunits = xunits;
    }

    /** 
     * Get the 'yunits' attribute value.
     * 
     * @return value
     */
    public UnitsEnum getYunits() {
        return yunits;
    }

    /** 
     * Set the 'yunits' attribute value.
     * 
     * @param yunits
     */
    public void setYunits(UnitsEnum yunits) {
        this.yunits = yunits;
    }
}
